package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Member;
import com.ruoyi.system.mapper.MemberMapper;
import com.ruoyi.system.service.XmlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class XmlServiceImpl implements XmlService {

    @Resource
    private MemberMapper memberMapper;

    @Override
    public Member getMemberById(Long id) {
        return memberMapper.getMemberById(String.valueOf(id));
    }
}
